package com.mpyy.dao.inventory;

import com.mpyy.pojo.DepotInfo;
import com.mpyy.pojo.InventoryCheck;
import com.mpyy.pojo.InventoryCheckDesc;
import com.mpyy.pojo.InventoryDesc;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = ("inventoryCheckMapperDaoInter"))
public interface InventoryCheckMapperDaoInter {
    List<InventoryDesc> searchCheck(String inveDescDepot);
    List<InventoryDesc> searchCheckId(String inveDescId);
    List<InventoryCheck> searchTakeStock();
    List<InventoryCheckDesc> searchStatement(String invCheckId);

    int updateCommodity(String invCheckDescId);

    int updateInventoryList(String invCheckId);

    int updateInventory(String invCheckId);

    List<InventoryCheck> searchInventorySurpluslosses();

    List<InventoryCheckDesc> searchInventoryDesc(List<String> invCheckId);
    //插入盘点明细
    int updateInventoryCheckDesc(InventoryCheckDesc inventoryCheckDesc);

    //根据批号查询库存表
    List<InventoryDesc> searchProidDesc(String inveDescBatchNum);

    List<InventoryCheckDesc> searchSta();

    int updateCheckDescId(String invCheckDescId);

    List<InventoryCheckDesc> serchCheckDesc(String invCheckId);
    //插入盘点单
    int updateInvenCheck(InventoryCheck inventoryCheck);

    List<DepotInfo> searchDepotInfowx();

    int updateInvenDescNum(InventoryCheckDesc inventoryCheckDesc);
}
